import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BannerComponent } from './banner/banner.component';
import { BannerEditComponent } from './banner-edit/banner-edit.component';

const routes: Routes = [
  { path: 'list', component: BannerComponent },
  { path: 'list/edit', component: BannerEditComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class BannerRoutingModule { }
